package com.fan.txl.data.push;


import java.util.Date;

import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;
import io.realm.annotations.Required;

/**
 * Created by jiajiabao on 17-2-14.
 */

public class PushMsg  extends RealmObject {
    @PrimaryKey
    private Long id;

    @Required
    private String title;

    @Required
    private String text;

    @Required
    private Date date;

    private Date validateDate;


    public PushMsg() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return this.title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getText() {
        return this.text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public Date getDate() {
        return this.date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Date getValidateDate() {
        return this.validateDate;
    }

    public void setValidateDate(Date validateDate) {
    this.validateDate = validateDate;
}

}
